package com.reporting;


import android.app.Activity;


/**
 * Only required if you want the capability to capture screen-shots during the
 * crash.
 */
public class ReportingActivity extends Activity {

    private static Activity sForegroundInstance;

    public static Activity getForegroundInstance() {

        return sForegroundInstance;
    }

    @Override
    protected void onPause() {

        super.onPause();
        sForegroundInstance = null;
    }

    @Override
    protected void onResume() {

        super.onResume();
        sForegroundInstance = this;
    }
}
